package com.pengzy.gateway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

/**
 * @author xiaozhi 2023/7/7
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.pengzy")
//@MapperScan(basePackages = {"com.pengzy.**.mapper","com.pengzy.**.**.mapper"})
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        System.out.println("网关服务启动 ==========================>");
    }
}
